<template>
  <div class="title">
    <Category title="游戏分类">
		<template slot-scope="{games}">
			<ul>
				<li v-for="(item, index) in games" :key="index">{{ item }}</li>
			</ul>
		</template>
    </Category>
  </div>
</template>

<script>
import Category from './components/Category'

export default {
  name: 'App',
  components: { Category }
}
</script>

<style scoped>
.title {
  margin: 0 auto;
  display: flex;
}
</style>

